This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Haven't tested this but... have you tried passing the entire Array to the agent?
Like so, perhaps.... (removed the loop and changed the parameter passed to the agent). Again, I haven't tried, but it seems logical.
<![CDATA[#{javascript: var docServer = @Name("[CN]", Subset(@DbName(), 1)); var viewPanel=getComponent("viewPanel1"); var docIDArray=viewPanel.getSelectedIds(); var db=session.getDatabase(docServer, "Employer.nsf");}
var agent=db.getAgent("(ExportToExcel)"); agent.run(docIdArray); }]]>
Feedback response number WEBB85H8DD created by ~Pippy Minfreeterynds on 05/16/2010